import 'package:get/get.dart';
import 'package:tot_android_flutter/base/BaseController.dart';

import '../../../eneity/tree_item_entity.dart';

class TreeController extends BaseController {
  var projectCategorys = <TreeItemEntity>[].obs;

  @override
  void loadData() {
    sendRequest(apiService.treeJson(), successCallback: (data) {
      projectCategorys.assignAll(data);
    });
  }
}
